package com.patzn.osgi.blueprint.client;

import com.patzn.osgi.blueprint.api.IEmailService;

/**
 * @name: EmailServiceClient
 * @description: EmailServiceClient
 * @author: jiangcs
 */
public class EmailServiceClient {
    private IEmailService iEmailService;

    public void init() {
        iEmailService.send("abc@qq.com", " OSGI blueprint");
    }

    public IEmailService getiEmailService() {
        return iEmailService;
    }

    public void setiEmailService(IEmailService iEmailService) {
        this.iEmailService = iEmailService;
    }
}
